[INFO] cloning repository https://github.com/fuguier001/rust-mitm-proxy
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fuguier001/rust-mitm-proxy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffuguier001%2Frust-mitm-proxy", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffuguier001%2Frust-mitm-proxy'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 051e2a46c05d9fe7afc086751bfed66d53a2ec8c
[INFO] testing fuguier001/rust-mitm-proxy against try#b8e88e5ddf5521a9f43ee3f62a702388c713e4bb for pr-155114
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffuguier001%2Frust-mitm-proxy" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/fuguier001/rust-mitm-proxy
[INFO] finished tweaking git repo https://github.com/fuguier001/rust-mitm-proxy
[INFO] tweaked toml for git repo https://github.com/fuguier001/rust-mitm-proxy written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/fuguier001/rust-mitm-proxy on toolchain b8e88e5ddf5521a9f43ee3f62a702388c713e4bb
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/fuguier001/rust-mitm-proxy already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] feb1da1e69c496610c4c630ce742d4cd6bd36213e7f76eaa8c1f030cbc9a51ad
[INFO] running `Command { std: "docker" "start" "-a" "feb1da1e69c496610c4c630ce742d4cd6bd36213e7f76eaa8c1f030cbc9a51ad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "feb1da1e69c496610c4c630ce742d4cd6bd36213e7f76eaa8c1f030cbc9a51ad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "feb1da1e69c496610c4c630ce742d4cd6bd36213e7f76eaa8c1f030cbc9a51ad", kill_on_drop: false }`
[INFO] [stdout] feb1da1e69c496610c4c630ce742d4cd6bd36213e7f76eaa8c1f030cbc9a51ad
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d5abf8baf0af72636d61e3d10aff4142e26c7b8b9bfa9e750bfbf4ea711d9eeb
[INFO] running `Command { std: "docker" "start" "-a" "d5abf8baf0af72636d61e3d10aff4142e26c7b8b9bfa9e750bfbf4ea711d9eeb", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.182
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling quote v1.0.44
[INFO] [stderr]    Compiling unicode-ident v1.0.24
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling find-msvc-tools v0.1.9
[INFO] [stderr]    Compiling cfg-if v1.0.4
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling bytes v1.11.1
[INFO] [stderr]    Compiling pkg-config v0.3.32
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling itoa v1.0.17
[INFO] [stderr]    Compiling lock_api v0.4.14
[INFO] [stderr]    Compiling log v0.4.29
[INFO] [stderr]    Compiling futures-core v0.3.32
[INFO] [stderr]    Compiling cc v1.2.56
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling hashbrown v0.16.1
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling utf8parse v0.2.2
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling native-tls v0.2.18
[INFO] [stderr]    Compiling futures-task v0.3.32
[INFO] [stderr]    Compiling powerfmt v0.2.0
[INFO] [stderr]    Compiling futures-sink v0.3.32
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]    Compiling bitflags v2.11.0
[INFO] [stderr]    Compiling deranged v0.5.8
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling indexmap v2.13.0
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling anstyle-parse v0.2.7
[INFO] [stderr]    Compiling regex-syntax v0.8.10
[INFO] [stderr]    Compiling time-core v0.1.8
[INFO] [stderr]    Compiling slab v0.4.12
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.2
[INFO] [stderr]    Compiling num-conv v0.2.0
[INFO] [stderr]    Compiling zmij v1.0.21
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling anstyle v1.0.13
[INFO] [stderr]    Compiling getrandom v0.4.1
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling socket2 v0.6.2
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling openssl-probe v0.2.1
[INFO] [stderr]    Compiling colorchoice v1.0.4
[INFO] [stderr]    Compiling anstyle-query v1.1.5
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling anstream v0.6.21
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling futures-channel v0.3.32
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling time v0.3.47
[INFO] [stderr]    Compiling clap_lex v1.0.0
[INFO] [stderr]    Compiling option-ext v0.2.0
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]    Compiling anyhow v1.0.102
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling untrusted v0.7.1
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling clap_builder v4.5.60
[INFO] [stderr]    Compiling pem v3.0.6
[INFO] [stderr]    Compiling dirs-sys v0.4.1
[INFO] [stderr]    Compiling yasna v0.5.2
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling thread_local v1.1.9
[INFO] [stderr]    Compiling ryu v1.0.23
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling memchr v2.8.0
[INFO] [stderr]    Compiling nu-ansi-term v0.50.3
[INFO] [stderr]    Compiling unsafe-libyaml v0.2.11
[INFO] [stderr]    Compiling iana-time-zone v0.1.65
[INFO] [stderr]    Compiling rustls-native-certs v0.6.3
[INFO] [stderr]    Compiling uuid v1.21.0
[INFO] [stderr]    Compiling dirs v5.0.1
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling clap_derive v4.5.55
[INFO] [stderr]    Compiling rcgen v0.11.3
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling tracing-subscriber v0.3.22
[INFO] [stderr]    Compiling clap v4.5.60
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling chrono v0.4.44
[INFO] [stderr]    Compiling serde_yaml v0.9.34+deprecated
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tokio-rustls v0.24.1
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling rust_mitm_proxy v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `KeyPair`
[INFO] [stdout]  --> src/proxy/certificate.rs:3:78
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rcgen::{Certificate, CertificateParams, DistinguishedName, DnType, IsCa, KeyPair, SanType, BasicConstraints};
[INFO] [stdout]   |                                                                              ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AsyncWriteExt`
[INFO] [stdout]   --> src/proxy/http.rs:30:56
[INFO] [stdout]    |
[INFO] [stdout] 30 |         use tokio::io::{AsyncBufReadExt, AsyncReadExt, AsyncWriteExt, BufReader};
[INFO] [stdout]    |                                                        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::io::AsyncWriteExt`
[INFO] [stdout]    --> src/proxy/http.rs:270:13
[INFO] [stdout]     |
[INFO] [stdout] 270 |         use tokio::io::AsyncWriteExt;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Ipv4Addr`
[INFO] [stdout]  --> src/utils/network.rs:2:24
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::net::{IpAddr, Ipv4Addr};
[INFO] [stdout]   |                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/capture/recorder.rs:33:22
[INFO] [stdout]    |
[INFO] [stdout] 32 |             connection: todo!(), // TODO: 从上下文获取连接信息
[INFO] [stdout]    |                         ------- any code following this expression is unreachable
[INFO] [stdout] 33 |             request: request.clone(),
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]    --> src/proxy/certificate.rs:114:16
[INFO] [stdout]     |
[INFO] [stdout] 114 |             if let Ok(wildcard_ia5) = wildcard.try_into() {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]     = help: consider replacing the `if let` with a `let`
[INFO] [stdout]     = note: `#[warn(irrefutable_let_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout]   --> src/capture/recorder.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |         request: &RequestInfo,
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `response`
[INFO] [stdout]   --> src/capture/recorder.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |         response: &ResponseInfo,
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `duration_ms`
[INFO] [stdout]   --> src/capture/recorder.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |         duration_ms: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration_ms`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `record`
[INFO] [stdout]   --> src/capture/recorder.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let record = TrafficRecord {
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_record`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `config` and `records` are never read
[INFO] [stdout]   --> src/capture/recorder.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct TrafficRecorder {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout]  9 |     config: CaptureConfig,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 10 |     records: Arc<RwLock<Vec<TrafficRecord>>>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `record`, `get_all`, and `print_record` are never used
[INFO] [stdout]   --> src/capture/recorder.rs:23:18
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl TrafficRecorder {
[INFO] [stdout]    | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub async fn record(
[INFO] [stdout]    |                  ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub async fn get_all(&self) -> Vec<TrafficRecord> {
[INFO] [stdout]    |                  ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |     fn print_record(&self, record: &TrafficRecord) {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Exporter` is never constructed
[INFO] [stdout]  --> src/capture/exporter.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct Exporter;
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `export`, `export_json`, `export_har`, `to_har`, `record_to_har_entry`, and `headers_to_har` are never used
[INFO] [stdout]   --> src/capture/exporter.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Exporter {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout] 12 |     /// 导出流量记录
[INFO] [stdout] 13 |     pub fn export(records: &[TrafficRecord], format: &ExportFormat, path: &Path) -> Result<()> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     fn export_json(records: &[TrafficRecord], path: &Path) -> Result<()> {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     fn export_har(records: &[TrafficRecord], path: &Path) -> Result<()> {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     fn to_har(records: &[TrafficRecord]) -> serde_json::Value {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 75 |     fn record_to_har_entry(record: &TrafficRecord) -> serde_json::Value {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 97 |     fn headers_to_har(headers: &std::collections::HashMap<String, String>) -> Vec<serde_json::Value> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_file` is never used
[INFO] [stdout]   --> src/config.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | impl Config {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub fn to_file<P: Into<PathBuf>>(&self, path: P) -> Result<()> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `TlsError` and `ProxyError` are never constructed
[INFO] [stdout]   --> src/error.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub enum ProxyError {
[INFO] [stdout]    |          ---------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 22 |     TlsError(String),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     ProxyError(String),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ProxyError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `ca_cert_der` is never read
[INFO] [stdout]   --> src/proxy/certificate.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct CertificateManager {
[INFO] [stdout]    |            ------------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 19 |     ca_cert_der: Vec<u8>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_ca_cert_der`, `save_ca_cert`, and `get_cache_stats` are never used
[INFO] [stdout]    --> src/proxy/certificate.rs:161:12
[INFO] [stdout]     |
[INFO] [stdout]  28 | impl CertificateManager {
[INFO] [stdout]     | ----------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 161 |     pub fn get_ca_cert_der(&self) -> Result<Vec<u8>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 166 |     pub async fn save_ca_cert(&self, path: &str) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 182 |     pub async fn get_cache_stats(&self) -> (usize, usize) {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `extract_query` is never used
[INFO] [stdout]    --> src/proxy/http.rs:458:8
[INFO] [stdout]     |
[INFO] [stdout]  16 | impl HttpHandler {
[INFO] [stdout]     | ---------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 458 |     fn extract_query(url: &str) -> Option<String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `create_default_config` is never used
[INFO] [stdout]   --> src/utils/config_utils.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl ConfigUtils {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub fn create_default_config() -> Result<Config> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]   --> src/config.rs:71:12
[INFO] [stdout]    |
[INFO] [stdout] 71 |         if self.server.port > 65535 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 08s
[INFO] running `Command { std: "docker" "inspect" "d5abf8baf0af72636d61e3d10aff4142e26c7b8b9bfa9e750bfbf4ea711d9eeb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d5abf8baf0af72636d61e3d10aff4142e26c7b8b9bfa9e750bfbf4ea711d9eeb", kill_on_drop: false }`
[INFO] [stdout] d5abf8baf0af72636d61e3d10aff4142e26c7b8b9bfa9e750bfbf4ea711d9eeb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cac22a0eaf98cfb7a990976f2143f305e2759ad456a0bae3a2f7e29cf684d453
[INFO] running `Command { std: "docker" "start" "-a" "cac22a0eaf98cfb7a990976f2143f305e2759ad456a0bae3a2f7e29cf684d453", kill_on_drop: false }`
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tokio-rustls v0.24.1
[INFO] [stderr]    Compiling tokio-test v0.4.5
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling rust_mitm_proxy v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `KeyPair`
[INFO] [stdout]  --> src/proxy/certificate.rs:3:78
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rcgen::{Certificate, CertificateParams, DistinguishedName, DnType, IsCa, KeyPair, SanType, BasicConstraints};
[INFO] [stdout]   |                                                                              ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AsyncWriteExt`
[INFO] [stdout]   --> src/proxy/http.rs:30:56
[INFO] [stdout]    |
[INFO] [stdout] 30 |         use tokio::io::{AsyncBufReadExt, AsyncReadExt, AsyncWriteExt, BufReader};
[INFO] [stdout]    |                                                        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::io::AsyncWriteExt`
[INFO] [stdout]    --> src/proxy/http.rs:270:13
[INFO] [stdout]     |
[INFO] [stdout] 270 |         use tokio::io::AsyncWriteExt;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Ipv4Addr`
[INFO] [stdout]  --> src/utils/network.rs:2:24
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::net::{IpAddr, Ipv4Addr};
[INFO] [stdout]   |                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/capture/recorder.rs:33:22
[INFO] [stdout]    |
[INFO] [stdout] 32 |             connection: todo!(), // TODO: 从上下文获取连接信息
[INFO] [stdout]    |                         ------- any code following this expression is unreachable
[INFO] [stdout] 33 |             request: request.clone(),
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]    --> src/proxy/certificate.rs:114:16
[INFO] [stdout]     |
[INFO] [stdout] 114 |             if let Ok(wildcard_ia5) = wildcard.try_into() {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]     = help: consider replacing the `if let` with a `let`
[INFO] [stdout]     = note: `#[warn(irrefutable_let_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout]   --> src/capture/recorder.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |         request: &RequestInfo,
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `response`
[INFO] [stdout]   --> src/capture/recorder.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |         response: &ResponseInfo,
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `duration_ms`
[INFO] [stdout]   --> src/capture/recorder.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |         duration_ms: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration_ms`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `record`
[INFO] [stdout]   --> src/capture/recorder.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let record = TrafficRecord {
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_record`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `config` and `records` are never read
[INFO] [stdout]   --> src/capture/recorder.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct TrafficRecorder {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout]  9 |     config: CaptureConfig,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 10 |     records: Arc<RwLock<Vec<TrafficRecord>>>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `record`, `get_all`, and `print_record` are never used
[INFO] [stdout]   --> src/capture/recorder.rs:23:18
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl TrafficRecorder {
[INFO] [stdout]    | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub async fn record(
[INFO] [stdout]    |                  ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub async fn get_all(&self) -> Vec<TrafficRecord> {
[INFO] [stdout]    |                  ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |     fn print_record(&self, record: &TrafficRecord) {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Exporter` is never constructed
[INFO] [stdout]  --> src/capture/exporter.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct Exporter;
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `export`, `export_json`, `export_har`, `to_har`, `record_to_har_entry`, and `headers_to_har` are never used
[INFO] [stdout]   --> src/capture/exporter.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Exporter {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout] 12 |     /// 导出流量记录
[INFO] [stdout] 13 |     pub fn export(records: &[TrafficRecord], format: &ExportFormat, path: &Path) -> Result<()> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     fn export_json(records: &[TrafficRecord], path: &Path) -> Result<()> {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     fn export_har(records: &[TrafficRecord], path: &Path) -> Result<()> {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     fn to_har(records: &[TrafficRecord]) -> serde_json::Value {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 75 |     fn record_to_har_entry(record: &TrafficRecord) -> serde_json::Value {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 97 |     fn headers_to_har(headers: &std::collections::HashMap<String, String>) -> Vec<serde_json::Value> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_file` is never used
[INFO] [stdout]   --> src/config.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | impl Config {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub fn to_file<P: Into<PathBuf>>(&self, path: P) -> Result<()> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `TlsError` and `ProxyError` are never constructed
[INFO] [stdout]   --> src/error.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub enum ProxyError {
[INFO] [stdout]    |          ---------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 22 |     TlsError(String),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     ProxyError(String),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ProxyError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `save_ca_cert` is never used
[INFO] [stdout]    --> src/proxy/certificate.rs:166:18
[INFO] [stdout]     |
[INFO] [stdout]  28 | impl CertificateManager {
[INFO] [stdout]     | ----------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 166 |     pub async fn save_ca_cert(&self, path: &str) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `extract_query` is never used
[INFO] [stdout]    --> src/proxy/http.rs:458:8
[INFO] [stdout]     |
[INFO] [stdout]  16 | impl HttpHandler {
[INFO] [stdout]     | ---------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 458 |     fn extract_query(url: &str) -> Option<String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `create_default_config` is never used
[INFO] [stdout]   --> src/utils/config_utils.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl ConfigUtils {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub fn create_default_config() -> Result<Config> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]   --> src/config.rs:71:12
[INFO] [stdout]    |
[INFO] [stdout] 71 |         if self.server.port > 65535 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 21.14s
[INFO] running `Command { std: "docker" "inspect" "cac22a0eaf98cfb7a990976f2143f305e2759ad456a0bae3a2f7e29cf684d453", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cac22a0eaf98cfb7a990976f2143f305e2759ad456a0bae3a2f7e29cf684d453", kill_on_drop: false }`
[INFO] [stdout] cac22a0eaf98cfb7a990976f2143f305e2759ad456a0bae3a2f7e29cf684d453
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 5cc7efb3e072d92ec04d0a621347a23dea588af4be83752786defb874e1dd9ac
[INFO] running `Command { std: "docker" "start" "-a" "5cc7efb3e072d92ec04d0a621347a23dea588af4be83752786defb874e1dd9ac", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `KeyPair`
[INFO] [stderr]  --> src/proxy/certificate.rs:3:78
[INFO] [stderr]   |
[INFO] [stderr] 3 | use rcgen::{Certificate, CertificateParams, DistinguishedName, DnType, IsCa, KeyPair, SanType, BasicConstraints};
[INFO] [stderr]   |                                                                              ^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `AsyncWriteExt`
[INFO] [stderr]   --> src/proxy/http.rs:30:56
[INFO] [stderr]    |
[INFO] [stderr] 30 |         use tokio::io::{AsyncBufReadExt, AsyncReadExt, AsyncWriteExt, BufReader};
[INFO] [stderr]    |                                                        ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `tokio::io::AsyncWriteExt`
[INFO] [stderr]    --> src/proxy/http.rs:270:13
[INFO] [stderr]     |
[INFO] [stderr] 270 |         use tokio::io::AsyncWriteExt;
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Ipv4Addr`
[INFO] [stderr]  --> src/utils/network.rs:2:24
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::net::{IpAddr, Ipv4Addr};
[INFO] [stderr]   |                        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable expression
[INFO] [stderr]   --> src/capture/recorder.rs:33:22
[INFO] [stderr]    |
[INFO] [stderr] 32 |             connection: todo!(), // TODO: 从上下文获取连接信息
[INFO] [stderr]    |                         ------- any code following this expression is unreachable
[INFO] [stderr] 33 |             request: request.clone(),
[INFO] [stderr]    |                      ^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: irrefutable `if let` pattern
[INFO] [stderr]    --> src/proxy/certificate.rs:114:16
[INFO] [stderr]     |
[INFO] [stderr] 114 |             if let Ok(wildcard_ia5) = wildcard.try_into() {
[INFO] [stderr]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this pattern will always match, so the `if let` is useless
[INFO] [stderr]     = help: consider replacing the `if let` with a `let`
[INFO] [stderr]     = note: `#[warn(irrefutable_let_patterns)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `request`
[INFO] [stderr]   --> src/capture/recorder.rs:25:9
[INFO] [stderr]    |
[INFO] [stderr] 25 |         request: &RequestInfo,
[INFO] [stderr]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `response`
[INFO] [stderr]   --> src/capture/recorder.rs:26:9
[INFO] [stderr]    |
[INFO] [stderr] 26 |         response: &ResponseInfo,
[INFO] [stderr]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `duration_ms`
[INFO] [stderr]   --> src/capture/recorder.rs:27:9
[INFO] [stderr]    |
[INFO] [stderr] 27 |         duration_ms: u64,
[INFO] [stderr]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration_ms`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `record`
[INFO] [stderr]   --> src/capture/recorder.rs:29:13
[INFO] [stderr]    |
[INFO] [stderr] 29 |         let record = TrafficRecord {
[INFO] [stderr]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_record`
[INFO] [stderr] 
[INFO] [stderr] warning: fields `config` and `records` are never read
[INFO] [stderr]   --> src/capture/recorder.rs:9:5
[INFO] [stderr]    |
[INFO] [stderr]  8 | pub struct TrafficRecorder {
[INFO] [stderr]    |            --------------- fields in this struct
[INFO] [stderr]  9 |     config: CaptureConfig,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr] 10 |     records: Arc<RwLock<Vec<TrafficRecord>>>,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: methods `record`, `get_all`, and `print_record` are never used
[INFO] [stderr]   --> src/capture/recorder.rs:23:18
[INFO] [stderr]    |
[INFO] [stderr] 13 | impl TrafficRecorder {
[INFO] [stderr]    | -------------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 23 |     pub async fn record(
[INFO] [stderr]    |                  ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 51 |     pub async fn get_all(&self) -> Vec<TrafficRecord> {
[INFO] [stderr]    |                  ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 57 |     fn print_record(&self, record: &TrafficRecord) {
[INFO] [stderr]    |        ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Exporter` is never constructed
[INFO] [stderr]  --> src/capture/exporter.rs:9:12
[INFO] [stderr]   |
[INFO] [stderr] 9 | pub struct Exporter;
[INFO] [stderr]   |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `export`, `export_json`, `export_har`, `to_har`, `record_to_har_entry`, and `headers_to_har` are never used
[INFO] [stderr]   --> src/capture/exporter.rs:13:12
[INFO] [stderr]    |
[INFO] [stderr] 11 | impl Exporter {
[INFO] [stderr]    | ------------- associated functions in this implementation
[INFO] [stderr] 12 |     /// 导出流量记录
[INFO] [stderr] 13 |     pub fn export(records: &[TrafficRecord], format: &ExportFormat, path: &Path) -> Result<()> {
[INFO] [stderr]    |            ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 21 |     fn export_json(records: &[TrafficRecord], path: &Path) -> Result<()> {
[INFO] [stderr]    |        ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 38 |     fn export_har(records: &[TrafficRecord], path: &Path) -> Result<()> {
[INFO] [stderr]    |        ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 56 |     fn to_har(records: &[TrafficRecord]) -> serde_json::Value {
[INFO] [stderr]    |        ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 75 |     fn record_to_har_entry(record: &TrafficRecord) -> serde_json::Value {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 97 |     fn headers_to_har(headers: &std::collections::HashMap<String, String>) -> Vec<serde_json::Value> {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `to_file` is never used
[INFO] [stderr]   --> src/config.rs:52:12
[INFO] [stderr]    |
[INFO] [stderr] 36 | impl Config {
[INFO] [stderr]    | ----------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 52 |     pub fn to_file<P: Into<PathBuf>>(&self, path: P) -> Result<()> {
[INFO] [stderr]    |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variants `TlsError` and `ProxyError` are never constructed
[INFO] [stderr]   --> src/error.rs:22:5
[INFO] [stderr]    |
[INFO] [stderr]  5 | pub enum ProxyError {
[INFO] [stderr]    |          ---------- variants in this enum
[INFO] [stderr] ...
[INFO] [stderr] 22 |     TlsError(String),
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 34 |     ProxyError(String),
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `ProxyError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: method `save_ca_cert` is never used
[INFO] [stderr]    --> src/proxy/certificate.rs:166:18
[INFO] [stderr]     |
[INFO] [stderr]  28 | impl CertificateManager {
[INFO] [stderr]     | ----------------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 166 |     pub async fn save_ca_cert(&self, path: &str) -> Result<()> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `extract_query` is never used
[INFO] [stderr]    --> src/proxy/http.rs:458:8
[INFO] [stderr]     |
[INFO] [stderr]  16 | impl HttpHandler {
[INFO] [stderr]     | ---------------- associated function in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 458 |     fn extract_query(url: &str) -> Option<String> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `create_default_config` is never used
[INFO] [stderr]   --> src/utils/config_utils.rs:17:12
[INFO] [stderr]    |
[INFO] [stderr]  8 | impl ConfigUtils {
[INFO] [stderr]    | ---------------- associated function in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 17 |     pub fn create_default_config() -> Result<Config> {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: comparison is useless due to type limits
[INFO] [stderr]   --> src/config.rs:71:12
[INFO] [stderr]    |
[INFO] [stderr] 71 |         if self.server.port > 65535 {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `rust_mitm_proxy` (bin "rust_mitm_proxy" test) generated 20 warnings (run `cargo fix --bin "rust_mitm_proxy" -p rust_mitm_proxy --tests` to apply 8 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.33s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_mitm_proxy-98315ac65849f25f)
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test proxy::certificate::tests::test_cert_cache ... ok
[INFO] [stdout] test proxy::certificate::tests::test_domain_cert_generation ... ok
[INFO] [stdout] test proxy::certificate::tests::test_ca_cert_generation ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- proxy::certificate::tests::test_ca_cert_generation stdout ----
[INFO] [stdout] 🔐 生成新的 CA 根证书...
[INFO] [stdout] ✅ CA 根证书生成成功
[INFO] [stdout]    主题: CN=Rust MITM Proxy CA, O=Rust MITM Proxy, C=CN
[INFO] [stdout]    有效期: 10 年
[INFO] [stdout] 
[INFO] [stdout] thread 'proxy::certificate::tests::test_ca_cert_generation' (18) panicked at src/proxy/certificate.rs:201:9:
[INFO] [stdout] assertion failed: ca_pem.contains("Rust MITM Proxy CA")
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x6454e8d322fa - std[fce30c26ee6459b]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x6454e8d322fa - std[fce30c26ee6459b]::backtrace_rs::backtrace::trace_unsynchronized::<std[fce30c26ee6459b]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x6454e8d322fa - std[fce30c26ee6459b]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x6454e8d322fa - <<std[fce30c26ee6459b]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[d17f6591d688f3bd]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x6454e8d463ba - <core[d17f6591d688f3bd]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x6454e8d463ba - core[d17f6591d688f3bd]::fmt::write
[INFO] [stdout]    6:     0x6454e8d36ca2 - std[fce30c26ee6459b]::io::default_write_fmt::<alloc[dad09f3a48280dba]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/io/mod.rs:621:11
[INFO] [stdout]    7:     0x6454e8d36ca2 - <alloc[dad09f3a48280dba]::vec::Vec<u8> as std[fce30c26ee6459b]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/io/mod.rs:1976:13
[INFO] [stdout]    8:     0x6454e8d10cff - <std[fce30c26ee6459b]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x6454e8d10cff - std[fce30c26ee6459b]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x6454e8d2a499 - std[fce30c26ee6459b]::panicking::default_hook
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x6454e8bbe12c - <alloc[dad09f3a48280dba]::boxed::Box<dyn for<'a, 'b> core[d17f6591d688f3bd]::ops::function::Fn<(&'a std[fce30c26ee6459b]::panic::PanicHookInfo<'b>,), Output = ()> + core[d17f6591d688f3bd]::marker::Sync + core[d17f6591d688f3bd]::marker::Send> as core[d17f6591d688f3bd]::ops::function::Fn<(&std[fce30c26ee6459b]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   12:     0x6454e8bbe12c - test[9653f4f1d2ca1489]::test_main_inner::<test[9653f4f1d2ca1489]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/test/src/lib.rs:155:21
[INFO] [stdout]   13:     0x6454e8d2a712 - <alloc[dad09f3a48280dba]::boxed::Box<dyn for<'a, 'b> core[d17f6591d688f3bd]::ops::function::Fn<(&'a std[fce30c26ee6459b]::panic::PanicHookInfo<'b>,), Output = ()> + core[d17f6591d688f3bd]::marker::Sync + core[d17f6591d688f3bd]::marker::Send> as core[d17f6591d688f3bd]::ops::function::Fn<(&std[fce30c26ee6459b]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   14:     0x6454e8d2a712 - std[fce30c26ee6459b]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x6454e8d10dea - std[fce30c26ee6459b]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/panicking.rs:691:13
[INFO] [stdout]   16:     0x6454e8d05fc9 - std[fce30c26ee6459b]::sys::backtrace::__rust_end_short_backtrace::<std[fce30c26ee6459b]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x6454e8d11acd - __rustc[de152adb51f02556]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x6454e8d46b7c - core[d17f6591d688f3bd]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x6454e8d46b42 - core[d17f6591d688f3bd]::panicking::panic
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/core/src/panicking.rs:150:5
[INFO] [stdout]   20:     0x6454e8b9bfc5 - rust_mitm_proxy[78dc0c1cfb8a0e10]::proxy::certificate::tests::test_ca_cert_generation::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/src/proxy/certificate.rs:201:9
[INFO] [stdout]   21:     0x6454e8b9f822 - <core[d17f6591d688f3bd]::pin::Pin<&mut dyn core[d17f6591d688f3bd]::future::future::Future<Output = ()>> as core[d17f6591d688f3bd]::future::future::Future>::poll
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/core/src/future/future.rs:133:9
[INFO] [stdout]   22:     0x6454e8b9f89d - <core[d17f6591d688f3bd]::pin::Pin<&mut core[d17f6591d688f3bd]::pin::Pin<&mut dyn core[d17f6591d688f3bd]::future::future::Future<Output = ()>>> as core[d17f6591d688f3bd]::future::future::Future>::poll
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/core/src/future/future.rs:133:9
[INFO] [stdout]   23:     0x6454e8bae11d - <tokio[26fedcb0d348492c]::runtime::scheduler::current_thread::CoreGuard>::block_on::<core[d17f6591d688f3bd]::pin::Pin<&mut core[d17f6591d688f3bd]::pin::Pin<&mut dyn core[d17f6591d688f3bd]::future::future::Future<Output = ()>>>>::{closure#0}::{closure#0}::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.49.0/src/runtime/scheduler/current_thread/mod.rs:753:70
[INFO] [stdout]   24:     0x6454e8bae01b - tokio[26fedcb0d348492c]::task::coop::with_budget::<core[d17f6591d688f3bd]::task::poll::Poll<()>, <tokio[26fedcb0d348492c]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[d17f6591d688f3bd]::pin::Pin<&mut core[d17f6591d688f3bd]::pin::Pin<&mut dyn core[d17f6591d688f3bd]::future::future::Future<Output = ()>>>>::{closure#0}::{closure#0}::{closure#0}>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.49.0/src/task/coop/mod.rs:167:5
[INFO] [stdout]   25:     0x6454e8bae01b - tokio[26fedcb0d348492c]::task::coop::budget::<core[d17f6591d688f3bd]::task::poll::Poll<()>, <tokio[26fedcb0d348492c]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[d17f6591d688f3bd]::pin::Pin<&mut core[d17f6591d688f3bd]::pin::Pin<&mut dyn core[d17f6591d688f3bd]::future::future::Future<Output = ()>>>>::{closure#0}::{closure#0}::{closure#0}>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.49.0/src/task/coop/mod.rs:133:5
[INFO] [stdout]   26:     0x6454e8bae01b - <tokio[26fedcb0d348492c]::runtime::scheduler::current_thread::CoreGuard>::block_on::<core[d17f6591d688f3bd]::pin::Pin<&mut core[d17f6591d688f3bd]::pin::Pin<&mut dyn core[d17f6591d688f3bd]::future::future::Future<Output = ()>>>>::{closure#0}::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.49.0/src/runtime/scheduler/current_thread/mod.rs:753:25
[INFO] [stdout]   27:     0x6454e8ba9a50 - <tokio[26fedcb0d348492c]::runtime::scheduler::current_thread::Context>::enter::<core[d17f6591d688f3bd]::task::poll::Poll<()>, <tokio[26fedcb0d348492c]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[d17f6591d688f3bd]::pin::Pin<&mut core[d17f6591d688f3bd]::pin::Pin<&mut dyn core[d17f6591d688f3bd]::future::future::Future<Output = ()>>>>::{closure#0}::{closure#0}>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.49.0/src/runtime/scheduler/current_thread/mod.rs:442:19
[INFO] [stdout]   28:     0x6454e8bacbed - <tokio[26fedcb0d348492c]::runtime::scheduler::current_thread::CoreGuard>::block_on::<core[d17f6591d688f3bd]::pin::Pin<&mut core[d17f6591d688f3bd]::pin::Pin<&mut dyn core[d17f6591d688f3bd]::future::future::Future<Output = ()>>>>::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.49.0/src/runtime/scheduler/current_thread/mod.rs:752:44
[INFO] [stdout]   29:     0x6454e8babee4 - <tokio[26fedcb0d348492c]::runtime::scheduler::current_thread::CoreGuard>::enter::<<tokio[26fedcb0d348492c]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[d17f6591d688f3bd]::pin::Pin<&mut core[d17f6591d688f3bd]::pin::Pin<&mut dyn core[d17f6591d688f3bd]::future::future::Future<Output = ()>>>>::{closure#0}, core[d17f6591d688f3bd]::option::Option<()>>::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.49.0/src/runtime/scheduler/current_thread/mod.rs:840:68
[INFO] [stdout]   30:     0x6454e8ba046b - <tokio[26fedcb0d348492c]::runtime::context::scoped::Scoped<tokio[26fedcb0d348492c]::runtime::scheduler::Context>>::set::<<tokio[26fedcb0d348492c]::runtime::scheduler::current_thread::CoreGuard>::enter<<tokio[26fedcb0d348492c]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[d17f6591d688f3bd]::pin::Pin<&mut core[d17f6591d688f3bd]::pin::Pin<&mut dyn core[d17f6591d688f3bd]::future::future::Future<Output = ()>>>>::{closure#0}, core[d17f6591d688f3bd]::option::Option<()>>::{closure#0}, (alloc[dad09f3a48280dba]::boxed::Box<tokio[26fedcb0d348492c]::runtime::scheduler::current_thread::Core>, core[d17f6591d688f3bd]::option::Option<()>)>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.49.0/src/runtime/context/scoped.rs:40:9
[INFO] [stdout]   31:     0x6454e8b973f9 - tokio[26fedcb0d348492c]::runtime::context::set_scheduler::<(alloc[dad09f3a48280dba]::boxed::Box<tokio[26fedcb0d348492c]::runtime::scheduler::current_thread::Core>, core[d17f6591d688f3bd]::option::Option<()>), <tokio[26fedcb0d348492c]::runtime::scheduler::current_thread::CoreGuard>::enter<<tokio[26fedcb0d348492c]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[d17f6591d688f3bd]::pin::Pin<&mut core[d17f6591d688f3bd]::pin::Pin<&mut dyn core[d17f6591d688f3bd]::future::future::Future<Output = ()>>>>::{closure#0}, core[d17f6591d688f3bd]::option::Option<()>>::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.49.0/src/runtime/context.rs:176:38
[INFO] [stdout]   32:     0x6454e8b953a2 - <std[fce30c26ee6459b]::thread::local::LocalKey<tokio[26fedcb0d348492c]::runtime::context::Context>>::try_with::<tokio[26fedcb0d348492c]::runtime::context::set_scheduler<(alloc[dad09f3a48280dba]::boxed::Box<tokio[26fedcb0d348492c]::runtime::scheduler::current_thread::Core>, core[d17f6591d688f3bd]::option::Option<()>), <tokio[26fedcb0d348492c]::runtime::scheduler::current_thread::CoreGuard>::enter<<tokio[26fedcb0d348492c]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[d17f6591d688f3bd]::pin::Pin<&mut core[d17f6591d688f3bd]::pin::Pin<&mut dyn core[d17f6591d688f3bd]::future::future::Future<Output = ()>>>>::{closure#0}, core[d17f6591d688f3bd]::option::Option<()>>::{closure#0}>::{closure#0}, (alloc[dad09f3a48280dba]::boxed::Box<tokio[26fedcb0d348492c]::runtime::scheduler::current_thread::Core>, core[d17f6591d688f3bd]::option::Option<()>)>
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/thread/local.rs:462:12
[INFO] [stdout]   33:     0x6454e8b94f2e - <std[fce30c26ee6459b]::thread::local::LocalKey<tokio[26fedcb0d348492c]::runtime::context::Context>>::with::<tokio[26fedcb0d348492c]::runtime::context::set_scheduler<(alloc[dad09f3a48280dba]::boxed::Box<tokio[26fedcb0d348492c]::runtime::scheduler::current_thread::Core>, core[d17f6591d688f3bd]::option::Option<()>), <tokio[26fedcb0d348492c]::runtime::scheduler::current_thread::CoreGuard>::enter<<tokio[26fedcb0d348492c]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[d17f6591d688f3bd]::pin::Pin<&mut core[d17f6591d688f3bd]::pin::Pin<&mut dyn core[d17f6591d688f3bd]::future::future::Future<Output = ()>>>>::{closure#0}, core[d17f6591d688f3bd]::option::Option<()>>::{closure#0}>::{closure#0}, (alloc[dad09f3a48280dba]::boxed::Box<tokio[26fedcb0d348492c]::runtime::scheduler::current_thread::Core>, core[d17f6591d688f3bd]::option::Option<()>)>
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/thread/local.rs:426:20
[INFO] [stdout]   34:     0x6454e8b9726d - tokio[26fedcb0d348492c]::runtime::context::set_scheduler::<(alloc[dad09f3a48280dba]::boxed::Box<tokio[26fedcb0d348492c]::runtime::scheduler::current_thread::Core>, core[d17f6591d688f3bd]::option::Option<()>), <tokio[26fedcb0d348492c]::runtime::scheduler::current_thread::CoreGuard>::enter<<tokio[26fedcb0d348492c]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[d17f6591d688f3bd]::pin::Pin<&mut core[d17f6591d688f3bd]::pin::Pin<&mut dyn core[d17f6591d688f3bd]::future::future::Future<Output = ()>>>>::{closure#0}, core[d17f6591d688f3bd]::option::Option<()>>::{closure#0}>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.49.0/src/runtime/context.rs:176:17
[INFO] [stdout]   35:     0x6454e8baab90 - <tokio[26fedcb0d348492c]::runtime::scheduler::current_thread::CoreGuard>::enter::<<tokio[26fedcb0d348492c]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[d17f6591d688f3bd]::pin::Pin<&mut core[d17f6591d688f3bd]::pin::Pin<&mut dyn core[d17f6591d688f3bd]::future::future::Future<Output = ()>>>>::{closure#0}, core[d17f6591d688f3bd]::option::Option<()>>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.49.0/src/runtime/scheduler/current_thread/mod.rs:840:27
[INFO] [stdout]   36:     0x6454e8baae86 - <tokio[26fedcb0d348492c]::runtime::scheduler::current_thread::CoreGuard>::block_on::<core[d17f6591d688f3bd]::pin::Pin<&mut core[d17f6591d688f3bd]::pin::Pin<&mut dyn core[d17f6591d688f3bd]::future::future::Future<Output = ()>>>>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.49.0/src/runtime/scheduler/current_thread/mod.rs:740:24
[INFO] [stdout]   37:     0x6454e8babaf0 - <tokio[26fedcb0d348492c]::runtime::scheduler::current_thread::CurrentThread>::block_on::<core[d17f6591d688f3bd]::pin::Pin<&mut dyn core[d17f6591d688f3bd]::future::future::Future<Output = ()>>>::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.49.0/src/runtime/scheduler/current_thread/mod.rs:200:33
[INFO] [stdout]   38:     0x6454e8bab4d3 - tokio[26fedcb0d348492c]::runtime::context::runtime::enter_runtime::<<tokio[26fedcb0d348492c]::runtime::scheduler::current_thread::CurrentThread>::block_on<core[d17f6591d688f3bd]::pin::Pin<&mut dyn core[d17f6591d688f3bd]::future::future::Future<Output = ()>>>::{closure#0}, ()>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.49.0/src/runtime/context/runtime.rs:65:16
[INFO] [stdout]   39:     0x6454e8ba9321 - <tokio[26fedcb0d348492c]::runtime::scheduler::current_thread::CurrentThread>::block_on::<core[d17f6591d688f3bd]::pin::Pin<&mut dyn core[d17f6591d688f3bd]::future::future::Future<Output = ()>>>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.49.0/src/runtime/scheduler/current_thread/mod.rs:188:9
[INFO] [stdout]   40:     0x6454e8b94c54 - <tokio[26fedcb0d348492c]::runtime::runtime::Runtime>::block_on_inner::<core[d17f6591d688f3bd]::pin::Pin<&mut dyn core[d17f6591d688f3bd]::future::future::Future<Output = ()>>>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.49.0/src/runtime/runtime.rs:368:52
[INFO] [stdout]   41:     0x6454e8b94e1f - <tokio[26fedcb0d348492c]::runtime::runtime::Runtime>::block_on::<core[d17f6591d688f3bd]::pin::Pin<&mut dyn core[d17f6591d688f3bd]::future::future::Future<Output = ()>>>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.49.0/src/runtime/runtime.rs:342:18
[INFO] [stdout]   42:     0x6454e8b9e821 - rust_mitm_proxy[78dc0c1cfb8a0e10]::proxy::certificate::tests::test_ca_cert_generation
[INFO] [stdout]                                at /opt/rustwide/workdir/src/proxy/certificate.rs:204:36
[INFO] [stdout]   43:     0x6454e8b9aea7 - rust_mitm_proxy[78dc0c1cfb8a0e10]::proxy::certificate::tests::test_ca_cert_generation::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/src/proxy/certificate.rs:194:39
[INFO] [stdout]   44:     0x6454e8b9fbd6 - <rust_mitm_proxy[78dc0c1cfb8a0e10]::proxy::certificate::tests::test_ca_cert_generation::{closure#0} as core[d17f6591d688f3bd]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   45:     0x6454e8bb140b - <fn() -> core[d17f6591d688f3bd]::result::Result<(), alloc[dad09f3a48280dba]::string::String> as core[d17f6591d688f3bd]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   46:     0x6454e8bb140b - test[9653f4f1d2ca1489]::__rust_begin_short_backtrace::<core[d17f6591d688f3bd]::result::Result<(), alloc[dad09f3a48280dba]::string::String>, fn() -> core[d17f6591d688f3bd]::result::Result<(), alloc[dad09f3a48280dba]::string::String>>
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/test/src/lib.rs:724:18
[INFO] [stdout]   47:     0x6454e8bbebfb - test[9653f4f1d2ca1489]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/test/src/lib.rs:747:74
[INFO] [stdout]   48:     0x6454e8bbebfb - <core[d17f6591d688f3bd]::panic::unwind_safe::AssertUnwindSafe<test[9653f4f1d2ca1489]::run_test_in_process::{closure#0}> as core[d17f6591d688f3bd]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   49:     0x6454e8bbebfb - std[fce30c26ee6459b]::panicking::catch_unwind::do_call::<core[d17f6591d688f3bd]::panic::unwind_safe::AssertUnwindSafe<test[9653f4f1d2ca1489]::run_test_in_process::{closure#0}>, core[d17f6591d688f3bd]::result::Result<(), alloc[dad09f3a48280dba]::string::String>>
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/panicking.rs:581:40
[INFO] [stdout]   50:     0x6454e8bbebfb - std[fce30c26ee6459b]::panicking::catch_unwind::<core[d17f6591d688f3bd]::result::Result<(), alloc[dad09f3a48280dba]::string::String>, core[d17f6591d688f3bd]::panic::unwind_safe::AssertUnwindSafe<test[9653f4f1d2ca1489]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/panicking.rs:544:19
[INFO] [stdout]   51:     0x6454e8bbebfb - std[fce30c26ee6459b]::panic::catch_unwind::<core[d17f6591d688f3bd]::panic::unwind_safe::AssertUnwindSafe<test[9653f4f1d2ca1489]::run_test_in_process::{closure#0}>, core[d17f6591d688f3bd]::result::Result<(), alloc[dad09f3a48280dba]::string::String>>
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/panic.rs:359:14
[INFO] [stdout]   52:     0x6454e8bbebfb - test[9653f4f1d2ca1489]::run_test_in_process
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/test/src/lib.rs:747:27
[INFO] [stdout]   53:     0x6454e8bbebfb - test[9653f4f1d2ca1489]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/test/src/lib.rs:668:43
[INFO] [stdout]   54:     0x6454e8bb8314 - test[9653f4f1d2ca1489]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/test/src/lib.rs:698:41
[INFO] [stdout]   55:     0x6454e8bb8314 - std[fce30c26ee6459b]::sys::backtrace::__rust_begin_short_backtrace::<test[9653f4f1d2ca1489]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   56:     0x6454e8bc1802 - std[fce30c26ee6459b]::thread::lifecycle::spawn_unchecked::<test[9653f4f1d2ca1489]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/thread/lifecycle.rs:70:13
[INFO] [stdout]   57:     0x6454e8bc1802 - <core[d17f6591d688f3bd]::panic::unwind_safe::AssertUnwindSafe<std[fce30c26ee6459b]::thread::lifecycle::spawn_unchecked<test[9653f4f1d2ca1489]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[d17f6591d688f3bd]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   58:     0x6454e8bc1802 - std[fce30c26ee6459b]::panicking::catch_unwind::do_call::<core[d17f6591d688f3bd]::panic::unwind_safe::AssertUnwindSafe<std[fce30c26ee6459b]::thread::lifecycle::spawn_unchecked<test[9653f4f1d2ca1489]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/panicking.rs:581:40
[INFO] [stdout]   59:     0x6454e8bc1802 - std[fce30c26ee6459b]::panicking::catch_unwind::<(), core[d17f6591d688f3bd]::panic::unwind_safe::AssertUnwindSafe<std[fce30c26ee6459b]::thread::lifecycle::spawn_unchecked<test[9653f4f1d2ca1489]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/panicking.rs:544:19
[INFO] [stdout]   60:     0x6454e8bc1802 - std[fce30c26ee6459b]::panic::catch_unwind::<core[d17f6591d688f3bd]::panic::unwind_safe::AssertUnwindSafe<std[fce30c26ee6459b]::thread::lifecycle::spawn_unchecked<test[9653f4f1d2ca1489]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/panic.rs:359:14
[INFO] [stdout]   61:     0x6454e8bc1802 - std[fce30c26ee6459b]::thread::lifecycle::spawn_unchecked::<test[9653f4f1d2ca1489]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/thread/lifecycle.rs:68:26
[INFO] [stdout]   62:     0x6454e8bc1802 - <std[fce30c26ee6459b]::thread::lifecycle::spawn_unchecked<test[9653f4f1d2ca1489]::run_test::{closure#1}, ()>::{closure#1} as core[d17f6591d688f3bd]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/core/src/ops/function.rs:250:5
[INFO] [stderr] error: test failed, to rerun pass `--bin rust_mitm_proxy`
[INFO] [stdout]   63:     0x6454e8d31bcf - <alloc[dad09f3a48280dba]::boxed::Box<dyn core[d17f6591d688f3bd]::ops::function::FnOnce<(), Output = ()> + core[d17f6591d688f3bd]::marker::Send> as core[d17f6591d688f3bd]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/alloc/src/boxed.rs:2271:9
[INFO] [stdout]   64:     0x6454e8d31bcf - <std[fce30c26ee6459b]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   65:     0x741ddaf0baa4 - <unknown>
[INFO] [stdout]   66:     0x741ddaf98a64 - clone
[INFO] [stdout]   67:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     proxy::certificate::tests::test_ca_cert_generation
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 2 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "5cc7efb3e072d92ec04d0a621347a23dea588af4be83752786defb874e1dd9ac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5cc7efb3e072d92ec04d0a621347a23dea588af4be83752786defb874e1dd9ac", kill_on_drop: false }`
[INFO] [stdout] 5cc7efb3e072d92ec04d0a621347a23dea588af4be83752786defb874e1dd9ac
